<!DOCTYPE html>
<html>
<head>
    <title>商城配置:商户资产</title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <Row :gutter="16">
            <div class="search-group">
                <i-col span="4">
                    <!--<i-input v-model="q.merchantName" @on-enter="query" placeholder="商户名称"/>-->
                    <i-select  v-model="q.merchantId" placeholder="商户名称">
                        <i-option v-for="item in merchants" :value="item.merchantId">{{ item.merchantName }}</i-option>
                    </i-select>

                </i-col>
                <!--<i-col span="4">-->
                    <!--<i-input v-model="q.merchantPhone" @on-enter="query" placeholder="商户手机号"/>-->
                <!--</i-col>-->
                <i-button @click="query">查询</i-button>
                <i-button @click="reloadSearch">重置</i-button>
            </div>
            <div class="buttons-group">
                <i-button type="warning" @click="getInfo"><i class="fa fa-pencil-square-o"></i>&nbsp;查看</i-button>
             </div>
        </Row>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <Card v-show="!showList">
        <p slot="title">{{title}}</p>
        <i-form ref="formValidate" :model="merchantassets" :rules="ruleValidate" :label-width="80">
            <Form-item label="商户名称" prop="merchantName">
                <i-input v-model="merchantassets.merchantName" placeholder="商户名称" readonly/>
            </Form-item>
            <Form-item label="资金" prop="amount">
                <i-input v-model="merchantassets.amount" placeholder="资金" readonly/>
            </Form-item>
            <Form-item label="冻结资金" prop="frozen">
                <i-input v-model="merchantassets.frozen" placeholder="冻结资金" readonly/>
            </Form-item>
            <!--<Form-item label="SPC" prop="coin">-->
                <!--<i-input v-model="merchantassets.coin" placeholder="SPC" readonly/>-->
            <!--</Form-item>-->
            <!--<Form-item label="冻结SPC" prop="coin_frozen">-->
                <!--<i-input v-model="merchantassets.coin_frozen" placeholder="冻结SPC" readonly/>-->
            <!--</Form-item>-->
            <Form-item label="提现数" prop="cashOutTotal">
                <i-input v-model="merchantassets.cashOutTotal" placeholder="提现数" readonly/>
            </Form-item>
            <Form-item label="提现金额" prop="cashOutTotalPrice">
                <i-input v-model="merchantassets.cashOutTotalPrice" placeholder="提现金额" readonly/>
            </Form-item>
            <Form-item label="订单数" prop="orderTotal">
                <i-input v-model="merchantassets.orderTotal" placeholder="订单数" readonly/>
            </Form-item>
            <Form-item label="订单金额" prop="orderTotalPrice">
                <i-input v-model="merchantassets.orderTotalPrice" placeholder="订单金额" readonly/>
            </Form-item>

            <Form-item>
                <!--<i-button type="primary" @click="handleSubmit('formValidate')">提交</i-button>-->
                <i-button type="warning" @click="reload" style="margin-left: 8px"/>
                返回</i-button>
                <!--<i-button type="ghost" @click="handleReset('formValidate')" style="margin-left: 8px">重置</i-button>-->
            </Form-item>
        </i-form>
    </Card>
</div>

<script src="${rc.contextPath}/js/merchant/merchantassets.js?_${date.systemTime}"></script>
</body>
</html>